package com.park.dao.user;

import java.util.List;

import com.park.client.model.user.UserMsgModel;
import com.park.dao.base.BaseMapper;

public interface UserMsgMapper extends BaseMapper<UserMsgModel>{
	/**
	 * 个人未读消息数量
	 */
    int getMsgTotal(Long userId);
    
	int insertAndGetInsertID(UserMsgModel msg);
	
	public List<UserMsgModel> selectPrivateMsg(Long userId);
}